#!/bin/bash

set -e

[[ "$TRAVIS_OS_NAME" == "windows" ]] || exit 1

JDK="$1"

choco install $JDK -y

choco install maven

choco install universal-ctags
export PATH=${PATH}:/c/ProgramData/chocolatey/lib/universal-ctags/tools

choco install svn
export PATH=${PATH}:/c/Program\ Files\ \(x86\)/Subversion/bin

choco install python3
# needs to be before the default Python 2
export PATH=/c/Python38:${PATH}
